//
//  ALBaseViewController.m
//  ios-loan-assistant
//
//  Created by hcs on 2018/8/31.
//  Copyright © 2018年 guoqingping. All rights reserved.
//

#import "ALBaseViewController.h"
#import "Masonry.h"
#import "UIView+Frame.h"

@interface ALBaseViewController ()

@end

@implementation ALBaseViewController

- (void)viewDidLoad {
    [super viewDidLoad];
   
    [self.view addSubview:self.al_contentView];
    [self.al_contentView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.left.equalTo(self.view);
        make.size.mas_equalTo(CGSizeMake(self.view.width, self.view.height));
        make.bottom.equalTo(self.view);
    }];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}

#pragma mark - get set
-(ALScrollView *)al_contentView{
    if (!_al_contentView) {
        _al_contentView=[[ALScrollView alloc] init];
        [_al_contentView setBackgroundColor:[UIColor greenColor]];
    }
    return _al_contentView;
}

@end
